package com.daka.service.impl;

import com.daka.dao1.ActivityApplyDao;
import com.daka.entity.ActivityApply;
import com.daka.service.ActivityApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Copyright: Copyright (c)2016
 * Company: 志愿者打卡器(www.dakaqi.cn)
 * 类名称: ActivityApplyServiceImpl <br>
 * 类描述: <br>
 *
 * @author: ChunYang.Zhang
 * @since: 2016/11/23 9:52
 * @version: 1.0.0
 */
@Service(value = "activityApplyService")
public class ActivityApplyServiceImpl implements ActivityApplyService
{
    @Autowired
    ActivityApplyDao activityApplyDao;

    @Override
    public List<ActivityApply> findByActivity(Integer activityId)
    {
        return this.activityApplyDao.findByActivity(activityId);
    }
}
